package com.isay.frameworklib.utils;

import com.google.gson.Gson;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by cywu4 on 2018/12/17.
 */
public class GsonUtils {

    public static String toJson(Map<String, Object> map) {
        Gson gson = new Gson();
        String jsonStr = gson.toJson(map);
        return jsonStr;
    }
}
